package td;

/*
 * Abstract parent class of Traps. Traps have no cost but cooldown time.
 * They know the field they are on, and have an upgrade method to modify them with
 * magicstones.
 * */
public abstract class Trap extends FieldElement {
	protected int cooldownTime;
	public boolean wasUpgraded;
	public MagicStones stone;
	
	public Trap(){
		super();
		wasUpgraded=false;
	}
	
	public Trap(Field position) {
		super(position);
		wasUpgraded=false;
	}
	
	public abstract void upgrade(MagicStones stone);
}
